package DBLayer;

import java.util.ArrayList;

import ModelLayer.Delivery;

public interface IFDBDelivery {
	//get all Delivery elements
	public ArrayList<Delivery> getAllDelivery();
	//get a Delivery by ID
	public Delivery getDeliveryById(int id);
	//insert Delivery
	public int insertDelivery(Delivery delivery) throws Exception;
	//update Delivery
	public int updateDelivery(Delivery delivery);
	//delete Delivery
	public int deleteDelivery(Delivery delivery);
}
